import {  post } from '@/utils/fetch';

export const getAppList = data => post('/usercenter-admin-app/admin/appInfo/selectPage',data); //列表数据
export const getFunctionList = data => post('/usercenter-admin-app/admin/functionInfo/selectList',data); //列表数据
export const addAppAuth = data => post('/usercenter-admin-app/admin/appInfo/insert',data); //列表数据
export const updateAuth = data => post('/usercenter-admin-app/admin/appInfo/update',data);
export const deleteAuth = data => post('/usercenter-admin-app/admin/appInfo/delete',data);
export const openStatus = data => post('/usercenter-admin-app/admin/appInfo/state/open',data);
export const closeStatus = data => post('/usercenter-admin-app/admin/appInfo/state/close',data);
export const getFunctionInfoList = data => post('/usercenter-admin-app/admin/appAccount/selectList',data);
export const deleteAuthInfo = data => post('/usercenter-admin-app/admin/appAccount/delete',data);